package com.hxzy.shop.dto.coupon.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author ht
 * @Date 2021/7/9 9:20
 * @Version 1.0
 */
@Data
public class GetCouponReq implements Serializable {

    @ApiModelProperty("优惠券id")
    @NotNull(message = "优惠券id不能为空")
    private String couponId;

    @ApiModelProperty("优惠券名称")
    private String couponName;

    @ApiModelProperty("优惠券来源 1后台  2小程序")
    private Integer couponSource;

    @ApiModelProperty("会员id")
    @NotNull(message = "会员id不能为空")
    private String memberId;

    @ApiModelProperty("合约id")
    private Long id;

    @ApiModelProperty(value = "合约用药签约信息id")
    private Long signCouponInfoId;


}
